import request from '@/utils/request'

export function page(params) {
  return request({
    url: '/api/pds/pdsFileModelPbs/listPdsFileModelPbs',
    method: 'get',
    params
  })
}
// 删除单个产品型号档案对象
export function removePlan(params) {
  return request({
    url: '/api/pds/pdsFileModelPbs/removePdsConfCategory',
    method: 'delete',
    params
  })
}

// 删除单个产品型号档案对象
export function getExcel(params) {
  return request({
    url: '/api/pds/pdsFileExcel/downloadTemplate',
    method: 'get',
    params
  })
}

export function updateAuth(data) {
  return request.post({
    url: '/api/pds/pdsFileModelPbs/updateAuth',
    data
  })
}
